package com.oauth.facebook.server.beans;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.restfb.Facebook;

public class FbUser {

	@Facebook("uid")
	private Long id;

	@Facebook("first_name")
	private String firstName;

	@Facebook("last_name")
	private String lastName;

	@Facebook("profile_url")
	private String profileUrl;

	@Facebook("birthday_date")
	private String birthdayDate;

	@Facebook("pic_square")
	private String picSquare;

	/**
	 * @return the uid
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param pUid
	 *            the uid to set
	 */
	public void setUid(Long pId) {
		id = pId;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param pFirstName
	 *            the firstName to set
	 */
	public void setFirstName(String pFirstName) {
		firstName = pFirstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param pLastName
	 *            the lastName to set
	 */
	public void setLastName(String pLastName) {
		lastName = pLastName;
	}

	/**
	 * @return the profileUrl
	 */
	public String getProfileUrl() {
		return profileUrl;
	}

	/**
	 * @param pProfileUrl
	 *            the profileUrl to set
	 */
	public void setProfileUrl(String pProfileUrl) {
		profileUrl = pProfileUrl;
	}

	/**
	 * @return the birthdayDate
	 */
	public String getBirthdayDate() {
		return birthdayDate;
	}

	/**
	 * @param pBirthdayDate
	 *            the birthdayDate to set
	 */
	public void setBirthdayDate(String pBirthdayDate) {
		birthdayDate = pBirthdayDate;
	}

	/**
	 * @return the picSquare
	 */
	public String getPicSquare() {
		return picSquare;
	}

	/**
	 * @param pPicSquare
	 *            the picSquare to set
	 */
	public void setPicSquare(String pPicSquare) {
		picSquare = pPicSquare;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
